package com.shopping_back.pojo.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class NoticeCreateDTO {
    @NotBlank
    private String title;

    @NotBlank
    private String content;

    /**
     * 1=新闻 2=降价通知 3=其它
     */
    @NotNull
    private Integer type;
}
